<h2>Register an Account</h2>
<section>
	<div style="background: #fff">
		<div class="text-block">
			<span><?php echo $terms; ?></span>
		</div>
	</div>
	<footer id="agree">
		<button>I agree with these terms</button>
	</footer>
	<?php echo open_form('register', array('class' => 'dn')); ?><!--  class="dn" -->
		<hr />
		<ul class="sp mt">
<?php foreach($form as $id => $f): ?>
			<li><label><?php echo $f['label']; ?></label><?php if($id !== 'captcha') { echo $f['minimum'] > 0 ? '*:' : ':'; } ?><?php echo input($id, $f); ?></li>
<?php endforeach; ?>
		</ul>
		<footer>
			<button type="submit">Register</button>
		</footer>
	<?php echo close_form(); ?>
</section>